package com.samphanie.auiu.common.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.With;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author ZSY
 * @email 1451691457@qq.com
 */
@Data
@With
@Builder
public class SendSmsDto implements Serializable {
    private static final long serialVersionUID = 3240919777695743275L;

    @NotBlank(message = "短信key不能为空")
    @ApiModelProperty(value = "短信key")
    private String key;
    @NotBlank(message = "手机号不能为空")
    @ApiModelProperty(value = "手机号")
    private String mobile;
    @NotBlank(message = "消息内容不能为空")
    @ApiModelProperty(value = "消息内容")
    private String message;

}
